package com.jgame.secondarymarket.domain.product.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jgame.secondarymarket.domain.product.entity.Product;
import com.jgame.secondarymarket.interfaces.query.page.product.PageProductQuery;

import com.jgame.secondarymarket.interfaces.query.product.UpdateProductQuery;
import com.jgame.secondarymarket.interfaces.vo.product.ProductVO;

/**
 * @title: ProductService
 * @Author Wangsj
 * @Date: 2021/7/21
 */

public interface ProductService {


    void saveProduct(Product product);

    void update(UpdateProductQuery query, Long productId);

    ProductVO findById(Long name);

    void delById(Long productId);

    IPage<ProductVO> pageProduc(PageProductQuery query);

}
